package com.vincent.sciinfo.pojo;

import java.util.ArrayList;
import java.util.List;

public class PatentExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public PatentExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andResultuuidIsNull() {
            addCriterion("resultUUid is null");
            return (Criteria) this;
        }

        public Criteria andResultuuidIsNotNull() {
            addCriterion("resultUUid is not null");
            return (Criteria) this;
        }

        public Criteria andResultuuidEqualTo(String value) {
            addCriterion("resultUUid =", value, "resultuuid");
            return (Criteria) this;
        }

        public Criteria andResultuuidNotEqualTo(String value) {
            addCriterion("resultUUid <>", value, "resultuuid");
            return (Criteria) this;
        }

        public Criteria andResultuuidGreaterThan(String value) {
            addCriterion("resultUUid >", value, "resultuuid");
            return (Criteria) this;
        }

        public Criteria andResultuuidGreaterThanOrEqualTo(String value) {
            addCriterion("resultUUid >=", value, "resultuuid");
            return (Criteria) this;
        }

        public Criteria andResultuuidLessThan(String value) {
            addCriterion("resultUUid <", value, "resultuuid");
            return (Criteria) this;
        }

        public Criteria andResultuuidLessThanOrEqualTo(String value) {
            addCriterion("resultUUid <=", value, "resultuuid");
            return (Criteria) this;
        }

        public Criteria andResultuuidLike(String value) {
            addCriterion("resultUUid like", value, "resultuuid");
            return (Criteria) this;
        }

        public Criteria andResultuuidNotLike(String value) {
            addCriterion("resultUUid not like", value, "resultuuid");
            return (Criteria) this;
        }

        public Criteria andResultuuidIn(List<String> values) {
            addCriterion("resultUUid in", values, "resultuuid");
            return (Criteria) this;
        }

        public Criteria andResultuuidNotIn(List<String> values) {
            addCriterion("resultUUid not in", values, "resultuuid");
            return (Criteria) this;
        }

        public Criteria andResultuuidBetween(String value1, String value2) {
            addCriterion("resultUUid between", value1, value2, "resultuuid");
            return (Criteria) this;
        }

        public Criteria andResultuuidNotBetween(String value1, String value2) {
            addCriterion("resultUUid not between", value1, value2, "resultuuid");
            return (Criteria) this;
        }

        public Criteria andTeacheridIsNull() {
            addCriterion("teacherId is null");
            return (Criteria) this;
        }

        public Criteria andTeacheridIsNotNull() {
            addCriterion("teacherId is not null");
            return (Criteria) this;
        }

        public Criteria andTeacheridEqualTo(String value) {
            addCriterion("teacherId =", value, "teacherid");
            return (Criteria) this;
        }

        public Criteria andTeacheridNotEqualTo(String value) {
            addCriterion("teacherId <>", value, "teacherid");
            return (Criteria) this;
        }

        public Criteria andTeacheridGreaterThan(String value) {
            addCriterion("teacherId >", value, "teacherid");
            return (Criteria) this;
        }

        public Criteria andTeacheridGreaterThanOrEqualTo(String value) {
            addCriterion("teacherId >=", value, "teacherid");
            return (Criteria) this;
        }

        public Criteria andTeacheridLessThan(String value) {
            addCriterion("teacherId <", value, "teacherid");
            return (Criteria) this;
        }

        public Criteria andTeacheridLessThanOrEqualTo(String value) {
            addCriterion("teacherId <=", value, "teacherid");
            return (Criteria) this;
        }

        public Criteria andTeacheridLike(String value) {
            addCriterion("teacherId like", value, "teacherid");
            return (Criteria) this;
        }

        public Criteria andTeacheridNotLike(String value) {
            addCriterion("teacherId not like", value, "teacherid");
            return (Criteria) this;
        }

        public Criteria andTeacheridIn(List<String> values) {
            addCriterion("teacherId in", values, "teacherid");
            return (Criteria) this;
        }

        public Criteria andTeacheridNotIn(List<String> values) {
            addCriterion("teacherId not in", values, "teacherid");
            return (Criteria) this;
        }

        public Criteria andTeacheridBetween(String value1, String value2) {
            addCriterion("teacherId between", value1, value2, "teacherid");
            return (Criteria) this;
        }

        public Criteria andTeacheridNotBetween(String value1, String value2) {
            addCriterion("teacherId not between", value1, value2, "teacherid");
            return (Criteria) this;
        }

        public Criteria andItemownIsNull() {
            addCriterion("itemOwn is null");
            return (Criteria) this;
        }

        public Criteria andItemownIsNotNull() {
            addCriterion("itemOwn is not null");
            return (Criteria) this;
        }

        public Criteria andItemownEqualTo(String value) {
            addCriterion("itemOwn =", value, "itemown");
            return (Criteria) this;
        }

        public Criteria andItemownNotEqualTo(String value) {
            addCriterion("itemOwn <>", value, "itemown");
            return (Criteria) this;
        }

        public Criteria andItemownGreaterThan(String value) {
            addCriterion("itemOwn >", value, "itemown");
            return (Criteria) this;
        }

        public Criteria andItemownGreaterThanOrEqualTo(String value) {
            addCriterion("itemOwn >=", value, "itemown");
            return (Criteria) this;
        }

        public Criteria andItemownLessThan(String value) {
            addCriterion("itemOwn <", value, "itemown");
            return (Criteria) this;
        }

        public Criteria andItemownLessThanOrEqualTo(String value) {
            addCriterion("itemOwn <=", value, "itemown");
            return (Criteria) this;
        }

        public Criteria andItemownLike(String value) {
            addCriterion("itemOwn like", value, "itemown");
            return (Criteria) this;
        }

        public Criteria andItemownNotLike(String value) {
            addCriterion("itemOwn not like", value, "itemown");
            return (Criteria) this;
        }

        public Criteria andItemownIn(List<String> values) {
            addCriterion("itemOwn in", values, "itemown");
            return (Criteria) this;
        }

        public Criteria andItemownNotIn(List<String> values) {
            addCriterion("itemOwn not in", values, "itemown");
            return (Criteria) this;
        }

        public Criteria andItemownBetween(String value1, String value2) {
            addCriterion("itemOwn between", value1, value2, "itemown");
            return (Criteria) this;
        }

        public Criteria andItemownNotBetween(String value1, String value2) {
            addCriterion("itemOwn not between", value1, value2, "itemown");
            return (Criteria) this;
        }

        public Criteria andFirstnameIsNull() {
            addCriterion("firstName is null");
            return (Criteria) this;
        }

        public Criteria andFirstnameIsNotNull() {
            addCriterion("firstName is not null");
            return (Criteria) this;
        }

        public Criteria andFirstnameEqualTo(String value) {
            addCriterion("firstName =", value, "firstname");
            return (Criteria) this;
        }

        public Criteria andFirstnameNotEqualTo(String value) {
            addCriterion("firstName <>", value, "firstname");
            return (Criteria) this;
        }

        public Criteria andFirstnameGreaterThan(String value) {
            addCriterion("firstName >", value, "firstname");
            return (Criteria) this;
        }

        public Criteria andFirstnameGreaterThanOrEqualTo(String value) {
            addCriterion("firstName >=", value, "firstname");
            return (Criteria) this;
        }

        public Criteria andFirstnameLessThan(String value) {
            addCriterion("firstName <", value, "firstname");
            return (Criteria) this;
        }

        public Criteria andFirstnameLessThanOrEqualTo(String value) {
            addCriterion("firstName <=", value, "firstname");
            return (Criteria) this;
        }

        public Criteria andFirstnameLike(String value) {
            addCriterion("firstName like", value, "firstname");
            return (Criteria) this;
        }

        public Criteria andFirstnameNotLike(String value) {
            addCriterion("firstName not like", value, "firstname");
            return (Criteria) this;
        }

        public Criteria andFirstnameIn(List<String> values) {
            addCriterion("firstName in", values, "firstname");
            return (Criteria) this;
        }

        public Criteria andFirstnameNotIn(List<String> values) {
            addCriterion("firstName not in", values, "firstname");
            return (Criteria) this;
        }

        public Criteria andFirstnameBetween(String value1, String value2) {
            addCriterion("firstName between", value1, value2, "firstname");
            return (Criteria) this;
        }

        public Criteria andFirstnameNotBetween(String value1, String value2) {
            addCriterion("firstName not between", value1, value2, "firstname");
            return (Criteria) this;
        }

        public Criteria andAllnameIsNull() {
            addCriterion("allName is null");
            return (Criteria) this;
        }

        public Criteria andAllnameIsNotNull() {
            addCriterion("allName is not null");
            return (Criteria) this;
        }

        public Criteria andAllnameEqualTo(String value) {
            addCriterion("allName =", value, "allname");
            return (Criteria) this;
        }

        public Criteria andAllnameNotEqualTo(String value) {
            addCriterion("allName <>", value, "allname");
            return (Criteria) this;
        }

        public Criteria andAllnameGreaterThan(String value) {
            addCriterion("allName >", value, "allname");
            return (Criteria) this;
        }

        public Criteria andAllnameGreaterThanOrEqualTo(String value) {
            addCriterion("allName >=", value, "allname");
            return (Criteria) this;
        }

        public Criteria andAllnameLessThan(String value) {
            addCriterion("allName <", value, "allname");
            return (Criteria) this;
        }

        public Criteria andAllnameLessThanOrEqualTo(String value) {
            addCriterion("allName <=", value, "allname");
            return (Criteria) this;
        }

        public Criteria andAllnameLike(String value) {
            addCriterion("allName like", value, "allname");
            return (Criteria) this;
        }

        public Criteria andAllnameNotLike(String value) {
            addCriterion("allName not like", value, "allname");
            return (Criteria) this;
        }

        public Criteria andAllnameIn(List<String> values) {
            addCriterion("allName in", values, "allname");
            return (Criteria) this;
        }

        public Criteria andAllnameNotIn(List<String> values) {
            addCriterion("allName not in", values, "allname");
            return (Criteria) this;
        }

        public Criteria andAllnameBetween(String value1, String value2) {
            addCriterion("allName between", value1, value2, "allname");
            return (Criteria) this;
        }

        public Criteria andAllnameNotBetween(String value1, String value2) {
            addCriterion("allName not between", value1, value2, "allname");
            return (Criteria) this;
        }

        public Criteria andEndtimeIsNull() {
            addCriterion("endTime is null");
            return (Criteria) this;
        }

        public Criteria andEndtimeIsNotNull() {
            addCriterion("endTime is not null");
            return (Criteria) this;
        }

        public Criteria andEndtimeEqualTo(String value) {
            addCriterion("endTime =", value, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeNotEqualTo(String value) {
            addCriterion("endTime <>", value, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeGreaterThan(String value) {
            addCriterion("endTime >", value, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeGreaterThanOrEqualTo(String value) {
            addCriterion("endTime >=", value, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeLessThan(String value) {
            addCriterion("endTime <", value, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeLessThanOrEqualTo(String value) {
            addCriterion("endTime <=", value, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeLike(String value) {
            addCriterion("endTime like", value, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeNotLike(String value) {
            addCriterion("endTime not like", value, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeIn(List<String> values) {
            addCriterion("endTime in", values, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeNotIn(List<String> values) {
            addCriterion("endTime not in", values, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeBetween(String value1, String value2) {
            addCriterion("endTime between", value1, value2, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeNotBetween(String value1, String value2) {
            addCriterion("endTime not between", value1, value2, "endtime");
            return (Criteria) this;
        }

        public Criteria andPatenttypeIsNull() {
            addCriterion("patentType is null");
            return (Criteria) this;
        }

        public Criteria andPatenttypeIsNotNull() {
            addCriterion("patentType is not null");
            return (Criteria) this;
        }

        public Criteria andPatenttypeEqualTo(String value) {
            addCriterion("patentType =", value, "patenttype");
            return (Criteria) this;
        }

        public Criteria andPatenttypeNotEqualTo(String value) {
            addCriterion("patentType <>", value, "patenttype");
            return (Criteria) this;
        }

        public Criteria andPatenttypeGreaterThan(String value) {
            addCriterion("patentType >", value, "patenttype");
            return (Criteria) this;
        }

        public Criteria andPatenttypeGreaterThanOrEqualTo(String value) {
            addCriterion("patentType >=", value, "patenttype");
            return (Criteria) this;
        }

        public Criteria andPatenttypeLessThan(String value) {
            addCriterion("patentType <", value, "patenttype");
            return (Criteria) this;
        }

        public Criteria andPatenttypeLessThanOrEqualTo(String value) {
            addCriterion("patentType <=", value, "patenttype");
            return (Criteria) this;
        }

        public Criteria andPatenttypeLike(String value) {
            addCriterion("patentType like", value, "patenttype");
            return (Criteria) this;
        }

        public Criteria andPatenttypeNotLike(String value) {
            addCriterion("patentType not like", value, "patenttype");
            return (Criteria) this;
        }

        public Criteria andPatenttypeIn(List<String> values) {
            addCriterion("patentType in", values, "patenttype");
            return (Criteria) this;
        }

        public Criteria andPatenttypeNotIn(List<String> values) {
            addCriterion("patentType not in", values, "patenttype");
            return (Criteria) this;
        }

        public Criteria andPatenttypeBetween(String value1, String value2) {
            addCriterion("patentType between", value1, value2, "patenttype");
            return (Criteria) this;
        }

        public Criteria andPatenttypeNotBetween(String value1, String value2) {
            addCriterion("patentType not between", value1, value2, "patenttype");
            return (Criteria) this;
        }

        public Criteria andPatentidIsNull() {
            addCriterion("patentId is null");
            return (Criteria) this;
        }

        public Criteria andPatentidIsNotNull() {
            addCriterion("patentId is not null");
            return (Criteria) this;
        }

        public Criteria andPatentidEqualTo(String value) {
            addCriterion("patentId =", value, "patentid");
            return (Criteria) this;
        }

        public Criteria andPatentidNotEqualTo(String value) {
            addCriterion("patentId <>", value, "patentid");
            return (Criteria) this;
        }

        public Criteria andPatentidGreaterThan(String value) {
            addCriterion("patentId >", value, "patentid");
            return (Criteria) this;
        }

        public Criteria andPatentidGreaterThanOrEqualTo(String value) {
            addCriterion("patentId >=", value, "patentid");
            return (Criteria) this;
        }

        public Criteria andPatentidLessThan(String value) {
            addCriterion("patentId <", value, "patentid");
            return (Criteria) this;
        }

        public Criteria andPatentidLessThanOrEqualTo(String value) {
            addCriterion("patentId <=", value, "patentid");
            return (Criteria) this;
        }

        public Criteria andPatentidLike(String value) {
            addCriterion("patentId like", value, "patentid");
            return (Criteria) this;
        }

        public Criteria andPatentidNotLike(String value) {
            addCriterion("patentId not like", value, "patentid");
            return (Criteria) this;
        }

        public Criteria andPatentidIn(List<String> values) {
            addCriterion("patentId in", values, "patentid");
            return (Criteria) this;
        }

        public Criteria andPatentidNotIn(List<String> values) {
            addCriterion("patentId not in", values, "patentid");
            return (Criteria) this;
        }

        public Criteria andPatentidBetween(String value1, String value2) {
            addCriterion("patentId between", value1, value2, "patentid");
            return (Criteria) this;
        }

        public Criteria andPatentidNotBetween(String value1, String value2) {
            addCriterion("patentId not between", value1, value2, "patentid");
            return (Criteria) this;
        }

        public Criteria andPatentnameIsNull() {
            addCriterion("patentName is null");
            return (Criteria) this;
        }

        public Criteria andPatentnameIsNotNull() {
            addCriterion("patentName is not null");
            return (Criteria) this;
        }

        public Criteria andPatentnameEqualTo(String value) {
            addCriterion("patentName =", value, "patentname");
            return (Criteria) this;
        }

        public Criteria andPatentnameNotEqualTo(String value) {
            addCriterion("patentName <>", value, "patentname");
            return (Criteria) this;
        }

        public Criteria andPatentnameGreaterThan(String value) {
            addCriterion("patentName >", value, "patentname");
            return (Criteria) this;
        }

        public Criteria andPatentnameGreaterThanOrEqualTo(String value) {
            addCriterion("patentName >=", value, "patentname");
            return (Criteria) this;
        }

        public Criteria andPatentnameLessThan(String value) {
            addCriterion("patentName <", value, "patentname");
            return (Criteria) this;
        }

        public Criteria andPatentnameLessThanOrEqualTo(String value) {
            addCriterion("patentName <=", value, "patentname");
            return (Criteria) this;
        }

        public Criteria andPatentnameLike(String value) {
            addCriterion("patentName like", value, "patentname");
            return (Criteria) this;
        }

        public Criteria andPatentnameNotLike(String value) {
            addCriterion("patentName not like", value, "patentname");
            return (Criteria) this;
        }

        public Criteria andPatentnameIn(List<String> values) {
            addCriterion("patentName in", values, "patentname");
            return (Criteria) this;
        }

        public Criteria andPatentnameNotIn(List<String> values) {
            addCriterion("patentName not in", values, "patentname");
            return (Criteria) this;
        }

        public Criteria andPatentnameBetween(String value1, String value2) {
            addCriterion("patentName between", value1, value2, "patentname");
            return (Criteria) this;
        }

        public Criteria andPatentnameNotBetween(String value1, String value2) {
            addCriterion("patentName not between", value1, value2, "patentname");
            return (Criteria) this;
        }

        public Criteria andCheckflagIsNull() {
            addCriterion("checkFlag is null");
            return (Criteria) this;
        }

        public Criteria andCheckflagIsNotNull() {
            addCriterion("checkFlag is not null");
            return (Criteria) this;
        }

        public Criteria andCheckflagEqualTo(Integer value) {
            addCriterion("checkFlag =", value, "checkflag");
            return (Criteria) this;
        }

        public Criteria andCheckflagNotEqualTo(Integer value) {
            addCriterion("checkFlag <>", value, "checkflag");
            return (Criteria) this;
        }

        public Criteria andCheckflagGreaterThan(Integer value) {
            addCriterion("checkFlag >", value, "checkflag");
            return (Criteria) this;
        }

        public Criteria andCheckflagGreaterThanOrEqualTo(Integer value) {
            addCriterion("checkFlag >=", value, "checkflag");
            return (Criteria) this;
        }

        public Criteria andCheckflagLessThan(Integer value) {
            addCriterion("checkFlag <", value, "checkflag");
            return (Criteria) this;
        }

        public Criteria andCheckflagLessThanOrEqualTo(Integer value) {
            addCriterion("checkFlag <=", value, "checkflag");
            return (Criteria) this;
        }

        public Criteria andCheckflagIn(List<Integer> values) {
            addCriterion("checkFlag in", values, "checkflag");
            return (Criteria) this;
        }

        public Criteria andCheckflagNotIn(List<Integer> values) {
            addCriterion("checkFlag not in", values, "checkflag");
            return (Criteria) this;
        }

        public Criteria andCheckflagBetween(Integer value1, Integer value2) {
            addCriterion("checkFlag between", value1, value2, "checkflag");
            return (Criteria) this;
        }

        public Criteria andCheckflagNotBetween(Integer value1, Integer value2) {
            addCriterion("checkFlag not between", value1, value2, "checkflag");
            return (Criteria) this;
        }

        public Criteria andScoreIsNull() {
            addCriterion("score is null");
            return (Criteria) this;
        }

        public Criteria andScoreIsNotNull() {
            addCriterion("score is not null");
            return (Criteria) this;
        }

        public Criteria andScoreEqualTo(Integer value) {
            addCriterion("score =", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreNotEqualTo(Integer value) {
            addCriterion("score <>", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreGreaterThan(Integer value) {
            addCriterion("score >", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreGreaterThanOrEqualTo(Integer value) {
            addCriterion("score >=", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreLessThan(Integer value) {
            addCriterion("score <", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreLessThanOrEqualTo(Integer value) {
            addCriterion("score <=", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreIn(List<Integer> values) {
            addCriterion("score in", values, "score");
            return (Criteria) this;
        }

        public Criteria andScoreNotIn(List<Integer> values) {
            addCriterion("score not in", values, "score");
            return (Criteria) this;
        }

        public Criteria andScoreBetween(Integer value1, Integer value2) {
            addCriterion("score between", value1, value2, "score");
            return (Criteria) this;
        }

        public Criteria andScoreNotBetween(Integer value1, Integer value2) {
            addCriterion("score not between", value1, value2, "score");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}